package work817;

import java.io.Serializable;

public class Orders implements Serializable {
  private int ordersId;
  private Goods goods;

  public Orders() {
  }

  public Orders(int ordersId, Goods goods) {
    this.ordersId = ordersId;
    this.goods = goods;
  }

  public int getOrdersId() {
    return ordersId;
  }

  public void setOrdersId(int ordersId) {
    this.ordersId = ordersId;
  }

  public Goods getGoods() {
    return goods;
  }

  public void setGoods(Goods goods) {
    this.goods = goods;
  }
}
